﻿using System;
using redHorn;
namespace RedHorn_Console
{
	class Program
	{
		public static RedHorn fixthings;
		public static void Main(string[] args)
		{
			Console.WriteLine("Hello World!");
			
			fixthings = new RedHorn();
			string text = "Hello  World   	This will be fixed in our update";
			string fixedText = fixthings.Trim(text);
			Console.WriteLine("Orginal: "+ text); //Will display the wrong text
			Console.WriteLine("Fix Method1: " + fixedText); //Will display the right text
			fixthings.Trim(ref text);
			Console.WriteLine("Fix Method2: " +text); //Will display the right text
			
			Console.Write("Press any key to continue . . . ");
			Console.ReadKey(true);
		}
	}
}